package com.shengyin.ec.model.dao.permission;

import java.util.List;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.Roles;

public interface RolesDao extends BaseDao<Roles> {
	public List<Roles> getRolesList(int start, int end) ;
	public List<Roles> getRolesListByKeyword(String keyword, int start, int end);
	public void deleteSelectedRoles(Long[] ids);
	
	public Long getTotal();
	
	public void ResourcesAllocateToRole(Long []ids,long roleId);
	
	public void CancelRolesResources(long resourceid,long roleid);
}
